﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using Aug.iot.Authorization.Roles;
using Aug.iot.Authorization.Users;
using Aug.iot.MultiTenancy;
using Aug.iot.People;
using Aug.iot.Tasks;

namespace Aug.iot.EntityFrameworkCore
{
    public class iotDbContext : AbpZeroDbContext<Tenant, Role, User, iotDbContext>
    {
        /* Define a DbSet for each entity of the application */
        public DbSet<Person> People { get; set; }
        public DbSet<Task> Tasks { get; set; }

        public iotDbContext(DbContextOptions<iotDbContext> options)
            : base(options)
        {
        }
    }
}
